<?php
class Security
{
	static function makeSafe($userInput)
	{		
		if ($userInput != null) 
		{
			return "'".addslashes($userInput)."'";
		}
		return $userInput;
	}
}
?>